#include "MainMenuState.h"
#include "EventWrapper.h"
#include "PlayState.h"

MainMenuState::MainMenuState()
    : MenuState("Main Menu")
{
}

void MainMenuState::addMenuLines()
{
    addLine("1. Start Game");
    addLine("ESC. Quit");
}

GameState* MainMenuState::performMenuAction1()
{
    return new PlayState();
}

GameState* MainMenuState::performMenuActionEscape()
{
    EventWrapper::pushQuit();
    return this;
}

MainMenuState::~MainMenuState()
{
}
